package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.common.R;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entity.Setmeal;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 套餐 服务类
 * </p>
 *
 * @author 
 * @since 2024-05-22
 */
public interface ISetmealService extends IService<Setmeal> {

    R<String> saveSeatmeal(SetmealDto setmealDto);

    R<Page> pageQuery(Integer page, Integer pageSize, String name);

    R<SetmealDto> queryByid(Long id);

    R<String> updateStatus(Integer status, Long[] id);

    R<String> deleteSetmealById(List<Long> id);

    R<List<Setmeal>> getSetmealList(Setmeal setmeal);
}
